package cn.itcast.j2se.pojo;

/**
 * @author ：sean
 * @date ：Created in 2021/12/17
 * @description ：
 * @version: 1.0
 */
public class Product {
	private int id;
	private String name;

	private float price;

	@Override
	public String toString() {
		return "Product{" +
			"id=" + id +
			", name='" + name + '\'' +
			", price=" + price +
			'}';
	}

	public float getPrice() {
		return price;
	}

	public void setPrice(float price) {
		this.price = price;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
}
